﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SheetUpdate.aspx.cs" Inherits="bgData_Zbmsg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>编辑</title>
    <link href="../CSS/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="Form1" name="Form1" method="post" runat="server">
    <table border="0" cellspacing="1" cellpadding="3" align="center" width="90%">
        <tr>
            <td colspan="3" class="td_title">
                <asp:Label ID="add" runat="server" Font-Bold="True">编辑指标信息(带<font color="red">*</font>的为必填项)</asp:Label>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span><font color="red">*</font></span> <span class="forumrow"><span class="a3-green">
                    参数名：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtParaName" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">小时测点：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtHour" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">日点：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtDay" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">月点：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtM" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">季点：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtJi" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">年点：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtY" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">机组：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtjz" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">单位：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtUnit" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">设计值：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtSj" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">报表名称：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="repName" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">显示顺序：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtXSSX" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">参数KEY：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtKey" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">小数位数：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtPoint" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">参数类型：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtType" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">最优值：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtZy" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">电量点：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtPower" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">是否显示：</span> </span>
            </td>
            <td>
                <asp:DropDownList ID="drpShow" runat="server">
                    <asp:ListItem Text="是" Value="1"></asp:ListItem>
                    <asp:ListItem Text="否" Value="0"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">公式级别：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtLev" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                <span class="forumrow"><span class="a3-green">参数ID：</span> </span>
            </td>
            <td>
                <asp:TextBox ID="txtParaID" runat="server" CssClass="tableTdtext" Width="150px"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                公式：
            </td>
            <td>
                <asp:TextBox ID="txtFormula" runat="server" Columns="50" CssClass="tableTdtext" TextMode="MultiLine"
                    Rows="5"></asp:TextBox>
            </td>
        </tr>
        <tr class="tableTd">
            <td align="right">
                公式参数：
            </td>
            <td>
                <asp:TextBox ID="txtFormPara" runat="server" Columns="50" CssClass="tableTdtext"
                    TextMode="MultiLine" Rows="5"></asp:TextBox>
            </td>
        </tr>
        <%-- <tr class="tableTd">
            <td align="right">
                公式变量：
            </td>
            <td>
                <asp:TextBox ID="txtFormVar" runat="server" Columns="50" CssClass="tableTdtext" TextMode="MultiLine"
                    Rows="5"></asp:TextBox>(可空)
            </td>
        </tr>--%>
        <tr class="tableTd">
            <td align="right">
                SQL语句：
            </td>
            <td>
                <asp:TextBox ID="sql" runat="server" Columns="50" CssClass="tableTdtext" TextMode="MultiLine"
                    Rows="5"></asp:TextBox>(可空)
            </td>
        </tr>
        <tr class="tableTd">
            <td colspan="2" align="right">
                <div align="center">
                    <span class="forumrow"><span class="px14">
                        <asp:Button ID="addbtn" runat="server" Width="100px" Text="保 存" class="formbutton"
                            OnClick="addbtn_Click"></asp:Button>&nbsp;&nbsp; </span></span>
                </div>
            </td>
        </tr>
    </table>
    <input type="hidden" id="hidJZ" runat="server" />
    <input type="hidden" id="hidID" runat="server" />
    </form>
</body>
</html>
